-
Home
-
Defender Security – Malware Scanner, Login Security & Firewall
-
4.5.1
-
Code
-
Classes
- User_Agent
Total Complexity |
34 |
Dependencies |
4 |
Dependents |
7 |
Total lines |
238 |
Lines of code |
115 |
Logical lines of code |
74 |
Comment lines |
66 |
Methods |
12 |
Properties |
2 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
log_event() |
S |
49 |
6 |
29 |
verify_import_file() |
S |
54 |
5 |
21 |
is_bad_user_agent() |
S |
57 |
5 |
15 |
get_status_text() |
S |
60 |
4 |
14 |
is_bad_post() |
S |
69 |
4 |
6 |
is_active_component() |
S |
79 |
2 |
3 |
get_message() |
S |
73 |
2 |
5 |
sanitize_user_agent() |
S |
65 |
2 |
9 |
__construct() |
S |
74 |
1 |
4 |
add_hooks() |
S |
98 |
1 |
1 |
block_user_agent_or_ip() |
S |
72 |
1 |
5 |
fast_cleaning() |
S |
79 |
1 |
3 |